package com.buybuyyi.stylistcrm.resource.goods.dao.impl;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Repository;

import com.buybuyyi.stylistcrm.resource.goods.dao.GoodsTagsDao;
import com.buybuyyi.stylistcrm.resource.goods.mapper.GoodsTagsMapper;
import com.buybuyyi.stylistcrm.resource.goods.po.GoodsTags;

@Repository
public class GoodsTagsDaoImpl implements GoodsTagsDao{
	
	@Autowired
	private GoodsTagsMapper goodsTagsMapper;

	@Override
	public int deleteByPrimaryKey(Long id) {
		
		return goodsTagsMapper.deleteByPrimaryKey(id);
	}

	@Override
	public int insert(GoodsTags record) {
		return goodsTagsMapper.insert(record);
	}

	@Override
	public int insertSelective(GoodsTags record) {
		return goodsTagsMapper.insertSelective(record);
	}

	@Override
	public GoodsTags selectByPrimaryKey(Long id) {
		return goodsTagsMapper.selectByPrimaryKey(id);
	}

	@Override
	public int updateByPrimaryKeySelective(GoodsTags record) {
		return goodsTagsMapper.updateByPrimaryKeySelective(record);
	}

	@Override
	public int updateByPrimaryKey(GoodsTags record) {
		return goodsTagsMapper.updateByPrimaryKey(record);
	}
	
   
	
}